<!-- ZmRadioGroup -->
<template>
  <el-radio-group v-model="currentValue" v-bind="$attrs" v-on="$listeners">
      <slot />
  </el-radio-group>
</template>

<script>
export default {
  name: 'ZmRadioGroup',
  props: {
    value: [String, Number]
  },

  data () {
    return {
    }
  },
  computed: {
    currentValue: {
      set (v) {
        this.$emit('input', v)
      },
      get () {
        return this.value + ''
      }
    }
  },
  methods: {
    // 初始化方法
    init () {}
  }
}

</script>
<style lang='scss' scoped>
</style>
